<template>
  <div class="topWrapper">
    <span class="iconfont iconjiantou2" @click="$router.back()"></span>
    <div class="title">{{ title }}</div>
  </div>
</template>

<script>
export default {
  props: ["title"],
};
</script>

<style lang="less" scoped>
.topWrapper {
  display: flex;
  padding: 20/360 * 100vw;
  align-items: center;
  .title {
    flex-grow: 1;
    text-align: center;
    font-size: 16/360 * 100vw;
    padding-right: 18/360 * 100vw;
    color: #333;
    font-weight: bold;
  }
}
</style>